# /bin/sh
yum install -y wget

# 源
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.bak
wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
wget http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean all
yum makecache


cd ~
mkdir -p temp

# tools
yum install -y wget mlocate git vim net-tools lrzsz 